package com.test6;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by Admin on 9/17 0017.
 */
public class BaseService<T> {
    /**
     * 这样的注解会被子类继承
     */
    @Autowired
    private BaseRepository<T> baseRepository;

    public void add(){
        System.out.println("add....");
        System.out.println(baseRepository);
    }
}
